package cn.springcloud.fix.gateway.api.request;

import lombok.Data;

@Data
public class GatewayRouteAddRequest {

    /**
     * 路由id
     */
    private String routeId;

    /**
     * 转发uri
     */
    private String routeUri;

    /**
     * 断言字符串集合，字符串结构：[{
     "name":"Path",
     "args":{
     "pattern" : "/zy/**"
     }
     }]
     */
    private String predicates;

    /**
     * 过滤器字符串集合，字符串结构：{
     "name":"StripPrefix",
     "args":{
     "_genkey_0":"1"
     }
     }
     */
    private String filters;
}
